﻿
@{
    ViewData["Title"] = "Welcome";
}

<h1>Welcome</h1>

<ul>
    @for (int i = 0; i < ViewBag.num; i++)
    { 
       <li>@ViewBag.name</li>
    }
</ul>